/*
 * @Author: your name
 * @Date: 2020-12-08 13:32:28
 * @LastEditTime: 2021-04-16 13:49:36
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: /medicine-web/src/store/index.js
 */
import Vue from 'vue'
import Vuex from 'vuex'
import app from './modules/app'
import user from './modules/user'
import permission from './modules/permission'
import main from './modules/main'
import document from './modules/document'
import clinical from './modules/clinical'
import meeting from './modules/meeting'
import summary from './modules/summary'
import qa from './modules/qa'
import product from './modules/product'
import realinfo from './modules/realinfo'
import getters from './getters'

Vue.use(Vuex)

const store = new Vuex.Store({
  modules: {
    app,
    user,
    permission,
    main,
    document,
    clinical,
    meeting,
    summary,
    qa,
    realinfo,
    product
  },
  getters
})

export default store
